package com.google.android.play.core.assetpacks;

import android.os.Bundle;

final class p extends l<Void> {

    /* renamed from: c  reason: collision with root package name */
    final int f2589c;

    /* renamed from: d  reason: collision with root package name */
    final String f2590d;
    final int e;
    final /* synthetic */ q f;

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    p(q qVar, c.b.a.c.a.g.p<Void> pVar, int i, String str, int i2) {
        super(qVar, pVar);
        this.f = qVar;
        this.f2589c = i;
        this.f2590d = str;
        this.e = i2;
    }

    public final void b(Bundle bundle) {
        this.f.f2598c.b();
        int i = bundle.getInt("error_code");
        q.f.e("onError(%d), retrying notifyModuleCompleted...", Integer.valueOf(i));
        int i2 = this.e;
        if (i2 > 0) {
            this.f.g(this.f2589c, this.f2590d, i2 - 1);
        }
    }
}
